import { defineConfig } from 'vitepress'

const base = '/zpages/';

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "ZhuPengji's pages",
  description: "Write something interesting",
  base: base,
  head: [['link', { rel: 'icon', href: base + 'favicon.ico' }]],
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: 'Home', link: '/' },
      { text: 'Profile', link: '/profile' },
      { text: 'Hwc', link: '/hwc_profile' },
      { text: 'Kite Runner', link: '/kite-runner/' },
    ],

    sidebar: [
      {
        text: '前端小册',
        items: [
          { text: '不一样前端小册', link: '/quick-questions/' },
          { text: 'Deep Topics', link: '/deep-topics/' },
        ]
      },
      {
        text: 'Translates',
        items: [
          { text: 'The Kite Runner', link: '/kite-runner/' },
        ]
      }
    ],

    socialLinks: [
      { icon: 'github', link: 'https://github.com/18202409203' }
    ]
  }
})
